/**
 * Generate code from /{{projectName}}-user/src/main/java/{{packageName}}/{{apis}}/rest/{{apiEntities}}ResourceImpl.java.hbs
 */
// @SkipOverwrite
package cn.ibizlab.api.rest;

import cn.ibizlab.api.dto.SysPersonSimpleInfoDTO;
import cn.ibizlab.core.ad.domain.SysPerson;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

/**
 * 实体[SysPerson] rest实现
 *
 * @author generator
 */
@Slf4j
public class SysPersonResourceImpl extends AbstractSysPersonResource {

    @ApiOperation(value = "GetSimple", tags = {"人员" },  notes = "SysPerson-GetSimple ")
    @PostMapping("sys_people/{id}/getsimple")
    public ResponseEntity<SysPersonSimpleInfoDTO> getSimple
            (@PathVariable("id") String id) {
        return super.getSimpleById(id);
    }
}
